<?php
JunctionFileCabinet::using("Junction_Core_Exception");

class Junction_Core_NullBase extends Junction_Core_Base {
	
	private static $_singleton;
	
	public function __construct() {
		
	}
	
	/**
	 * @Override
	 * @param unknown_type $property
	 * @return unknown
	 */
	public function read($property) {
		return null;
	}
	
	/**
	 * @Override
	 * @param unknown_type $property
	 * @param unknown_type $value
	 */
	public function write($property, $value) {
		// do nothing
	}
	
	public static function getSingleton() {
		if (!isset(self::$_singleton)) {
			self::$_singleton = new Junction_Core_NullBase();
		}
		return self::$_singleton;
	}
}
?>